package com.rjgc.title.model.entity.student;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 学习经历
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 16:23
 **/
@Data
@ApiModel(description = "LearningExperience")
@TableName("learning_experience")
public class LearningExperience extends BaseEntity {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "开始时间：*")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("begin_time")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间：*")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "学校")
    @TableField("should_name")
    private String shouldName;

        @ApiModelProperty(value = "担任职务")
    @TableField("post")
    private String post;

    @ApiModelProperty(value = "证明人*")
    @TableField("witness")
    private String witness;

    @ApiModelProperty(value = "所学专业*")
    @TableField("major_studied")
    private String majorStudied;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "是否全日制")
    @TableField("full_time")
    private String fullTime;

    @ApiModelProperty(value = "学历")
    @TableField("education")
    private String education;

    @ApiModelProperty(value = "学位")
    @TableField("academic_degree")
    private String academicDegree;

    @ApiModelProperty(value = "学历证书编号")
    @TableField("academic_certificateNo")
    private String AcademicCertificateNo;

    @ApiModelProperty(value = "学位证书编号")
    @TableField("degree_certificateNo")
    private String DegreeCertificateNo;

    @ApiModelProperty(value = "学历证书文件(支持图片,pdf格式)")
    @TableField("upload_file_education")
    private String uploadFileEducation;


    @ApiModelProperty(value = "学位证书文件(支持图片,pdf格式)")
    @TableField("upload_file_academic_degree")
    private String uploadFileAcademicDegree;
}
